package com.whfc.fmam.event;

import com.whfc.fmam.entity.dto.SyncFmamWeighNoteDTO;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @author : qzexing
 * @version : 1.0
 * @date : 2021-01-28 15:28
 */
public class FmamWeightNoteSyncEvent extends ApplicationEvent {

    private Integer deptId;

    private List<SyncFmamWeighNoteDTO> weighNoteList;

    public FmamWeightNoteSyncEvent(Integer deptId, List<SyncFmamWeighNoteDTO> weighNoteList) {
        super(deptId);
        this.deptId = deptId;
        this.weighNoteList = weighNoteList;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public List<SyncFmamWeighNoteDTO> getWeighNoteList() {
        return weighNoteList;
    }
}
